<div class="contextual">
  <%%= link_to t('helpers.links.show'), [:admin, @<%= singular_name %>], :class => 'icon icon-view' %>
  <%%= link_to t('helpers.links.destroy'), [:admin, @<%= singular_name %>], :confirm => t('helpers.links.confirm'), :method => :delete, :class => 'icon icon-del' %>
</div>

<h2>Editing <%= singular_name.humanize %></h2>

<%%= simple_form_for(@<%= singular_name %>, :url => [:admin, @<%= singular_name %>], :html => {:class => 'tabular'}) do |form| %>
  <%%= form.error_messages %>

  <%%= render :partial => form %>

  <%%= form.submit t('helpers.submit.update') %>
  <%%= link_to t('helpers.links.back'), admin_<%= plural_name %>_path %>
<%% end %>
